﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="RetreatRegistration.aspx.cs" Inherits="RedemptoristRetreatCenter.RetreatRegistration" %>

<asp:Content ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent" runat="server">
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1><%: Title %>Retreat Registration</h1>
                </hgroup>
                <br /><asp:Literal ID="litRetreatTitle" runat="server"></asp:Literal><br />
                <asp:Literal ID="litRetreatDates" runat="server"></asp:Literal><br />
            <hgroup>
            </hgroup>
            <table style="width: 100%;">
                <tr>
                    <td class="auto-style2">Attendee Name:&nbsp;</td>
                    <td class="auto-style2">
                        <asp:DropDownList ID="ddRegistrant" runat="server" Height="22px" Width="331px" OnLoad="ddRegistrant_OnLoad" >
                        </asp:DropDownList>
                    </td>
                </tr>

                <tr>
                    <td class="auto-style2">Group Name:&nbsp;</td>
                    <td class="auto-style2">
                        <asp:TextBox ID="txtGroupName"  runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style2">Room Type:&nbsp;</td>
                    <td class="auto-style2">
                        <asp:DropDownList ID="ddRoomType" runat="server" Height="22px" Width="331px" OnLoad="ddRoomType_OnLoad" >
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style2">First Floor Required:&nbsp;</td>
                    <td class="auto-style2">
                        <asp:DropDownList ID="ddFirstFloor" runat="server" Height="22px" Width="331px" OnLoad="ddFirstFloor_OnLoad" >
                        </asp:DropDownList>
                    </td>
                </tr>  
                <tr>
                    <td class="auto-style2">Dietary Needs:&nbsp;</td>
                    <td class="auto-style2">
                        <asp:TextBox ID="txtDietary"  runat="server" Wrap="true" MaxLength="50" Height="38px" Width="431px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style2">Comment:&nbsp;</td>
                    <td class="auto-style2">
                        <asp:TextBox ID="txtComment"  runat="server" Wrap="true" MaxLength="250" Height="59px" Width="431px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style2">Room Number:&nbsp;</td>
                    <td class="auto-style2">
                        <asp:TextBox ID="txtRoomNumber" runat="server" MaxLength="3" Height="22px" Width="434px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style2">Amount Paid:&nbsp;</td>
                    <td class="auto-style2">
                        <asp:TextBox ID="txtAmountPaid" runat="server"></asp:TextBox>
                        <asp:CompareValidator id="CheckFormat1" runat="server" ControlToValidate="txtAmountPaid" Operator="DataTypeCheck"
                           Type="Currency"  Display="Dynamic" ErrorMessage="Illegal format for currency" />
                        <asp:RangeValidator id="RangeCheck1" runat="server" ControlToValidate="txtAmountPaid"
                           Type="Currency" MinimumValue="1.00" MaximumValue="999.99" ErrorMessage="Out of range" Display="Dynamic" />
                    </td>
                </tr>
                <tr>
                    <td class="auto-style2">Discount Amount:&nbsp;</td>
                    <td class="auto-style2">
                        <asp:TextBox ID="txtDiscountAmount"  runat="server"></asp:TextBox>
                        <asp:CompareValidator id="CompareValidator1" runat="server" ControlToValidate="txtDiscountAmount" Operator="DataTypeCheck"
                           Type="Currency"  Display="Dynamic" ErrorMessage="Illegal format for currency" />
                        <asp:RangeValidator id="RangeValidator1" runat="server" ControlToValidate="txtDiscountAmount"
                           Type="Currency" MinimumValue="1.00" MaximumValue="999.99" ErrorMessage="Out of range" Display="Dynamic" />
                    </td>
                </tr>
            </table>
            <br />
            <br />
            &nbsp;&nbsp;<asp:Button ID="SubmitButton" runat="server" Text="Submit" ForeColor="WindowText" OnClick="Submit_Click" />
            &nbsp;&nbsp;<asp:Literal ID="StatusMessage" runat="server"></asp:Literal>
    </div> 
   </section>

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
</asp:Content>
